package com.grj.park.boot.mapper;

import com.grj.park.boot.domain.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author eren
* @description 针对表【role_permission】的数据库操作Mapper
* @createDate 2024-10-24 16:32:45
* @Entity domain.com.grj.park.boot.RolePermission
*/
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    List<RolePermission> selectAll(Long roleId);

    void updateRolePermissions(List<RolePermission> updateRolePermissions);
}




